// RightView.cpp : implementation file
//

#include "stdafx.h"
#include "DocTest.h"
#include "RightView.h"


// CRightView

IMPLEMENT_DYNCREATE(CRightView, CFormView)

CRightView::CRightView()
	: CFormView(CRightView::IDD)
{

}

CRightView::~CRightView()
{
}

void CRightView::DoDataExchange(CDataExchange* pDX)
{
	CFormView::DoDataExchange(pDX);
}

BEGIN_MESSAGE_MAP(CRightView, CFormView)
	ON_WM_PAINT()
	ON_WM_CREATE()
END_MESSAGE_MAP()


// CRightView diagnostics

#ifdef _DEBUG
void CRightView::AssertValid() const
{
	CFormView::AssertValid();
}

#ifndef _WIN32_WCE
void CRightView::Dump(CDumpContext& dc) const
{
	CFormView::Dump(dc);
}
#endif
#endif //_DEBUG


void CRightView::OnPaint()
{
	CPaintDC dc(this);

	CRect rt;
	GetClientRect(&rt);

	dc.MoveTo(0, rt.Height()/2);
	dc.LineTo(rt.Width(), rt.Height()/2);

}

int CRightView::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
	return 0;
}



// CRightView message handlers
